/**
 * Created by lenovo on 2016/3/12.
 */
package cc.openhome;

import javax.xml.bind.SchemaOutputResolver;

public class Level {
    public static void main(String[] args) {
        int score = 88;
        char level;
        if (score>=90){
            level = 'A';
        }
        else if(score>=80&&score<90){
            level ='B';
        }
        else if(score>=70&&score<80){
            level ='C';
        }
        else{
            level ='E';
        }
        System.out.printf("得分等级：%c%n",level);
    }
}
